Skip to content

Conversation

@jesswrd
Copy link
Contributor

@jesswrd jesswrd commented Nov 14, 2025

Updated the example app agp and kgp versions to match the template defaults.

AGP 8.11.0 --> 8.11.1
KGP 2.2.0 --> 2.2.20

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

@github-actions github-actions bot added p: webview_flutter p: video_player p: url_launcher p: shared_preferences p: two_dimensional_scrollables Issues pertaining to the two_dimensional_scrollables package p: interactive_media_ads Plugin for IMA SDK p: flutter_svg p: google_fonts triage-framework Should be looked at in framework triage triage-engine Should be looked at in engine triage labels Nov 14, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Android Gradle Plugin (AGP) and Kotlin Gradle Plugin (KGP) versions across numerous settings.gradle files. The changes correctly align the versions with the flutter/flutter templates. However, I've identified several files where the indentation of the updated lines is inconsistent with the surrounding code within the plugins block. I have added comments with suggestions to correct the formatting for better code maintainability.

Comment on lines +22 to +23
id "com.android.application" version "8.11.1" apply false
id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The indentation for these lines is inconsistent with the rest of the plugins block. Please use 2 spaces for indentation to match the surrounding lines.

  id "com.android.application" version "8.11.1" apply false
  id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Comment on lines +22 to +23
id "com.android.application" version "8.11.1" apply false
id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The indentation for these lines is inconsistent with the rest of the plugins block. Please use 2 spaces for indentation to match the surrounding lines.

  id "com.android.application" version "8.11.1" apply false
  id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Comment on lines +22 to +23
id "com.android.application" version "8.11.1" apply false
id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The indentation for these lines is inconsistent with the rest of the plugins block. Please use 2 spaces for indentation to match the surrounding lines.

  id "com.android.application" version "8.11.1" apply false
  id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Comment on lines +22 to +23
id "com.android.application" version "8.11.1" apply false
id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The indentation for these lines is inconsistent with the rest of the plugins block. Please use 2 spaces for indentation to match the surrounding lines.

  id "com.android.application" version "8.11.1" apply false
  id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Comment on lines +22 to +23
id "com.android.application" version "8.11.1" apply false
id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The indentation for these lines is inconsistent with the rest of the plugins block. Please use 2 spaces for indentation to match the surrounding lines.

  id "com.android.application" version "8.11.1" apply false
  id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Comment on lines +22 to +23
id "com.android.application" version "8.11.1" apply false
id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The indentation for these lines is inconsistent with the rest of the plugins block. Please use 2 spaces for indentation to match the surrounding lines.

  id "com.android.application" version "8.11.1" apply false
  id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Comment on lines +22 to +23
id "com.android.application" version "8.11.1" apply false
id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The indentation for these lines is inconsistent with the rest of the plugins block. Please use 2 spaces for indentation to match the surrounding lines.

  id "com.android.application" version "8.11.1" apply false
  id "org.jetbrains.kotlin.android" version "2.2.20" apply false

Copy link
Member

@gmackall gmackall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like some spacing got messed up but lgtm outside that

Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

mavenCentral()
gradlePluginPortal()
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's interesting that the indent (2 vs 4 spaces) of this block isn't consistent across files. I don't think it's worth worrying about though, since once we migrate everything to Kotlin it'll be autoformatted anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants